package com.leoandroid.tool.toolsbox.net

import org.json.JSONObject

interface NetCallBack {
    fun onFailure(code: Int, e: Throwable?)

    fun onSuccess(json: JSONObject?)
}

interface NetCallBack2 {
    fun onFailure(code: Int, e: Throwable?)

    fun onSuccess(json: String)
}